bin=demo
src=main.cc
cc=g++
LD_FLAGS=-std=c++11

$(bin):$(src)
	$(cc) -o $@ $^ $(LD_FLAGS)

.PHONY:clean
clean:
	rm -r $(bin)
